<?php
class Shopping_cart_model extends MY_Model {
    
    public function get_id_max()
    {
        $sql = "SELECT MAX(order_id) as id_max FROM tbl_order";
        $query = $this->db->query($sql);
        
        return $query->result_array();
    }
    
}
